package iwba.simple.controller;

import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class DicController {
	
	@RequestMapping(value="/dic_search", method = RequestMethod.GET)
	public String search(ModelMap model) {
 
		return "/WEB-INF/jsp/dic/dic_search";
 
	}
	
	
	@RequestMapping(value="/dic_top30", method = RequestMethod.GET)
	public String top30(ModelMap model) {
 
		return "/WEB-INF/jsp/dic/dic_top30";
 
	}
	
	
	@RequestMapping(value="/dic_favorite", method = RequestMethod.GET)
	public String favorite(ModelMap model) {
 
		return "/WEB-INF/jsp/dic/dic_favorite";
 
	}
	
	
	@RequestMapping(value="/dic_tree", method = RequestMethod.GET)
	public String tree(ModelMap model) {
 
		return "/WEB-INF/jsp/dic/dic_tree";
 
	}
	
	
	@RequestMapping(value="/dic_tree_data", method = RequestMethod.POST)
	public String treedata(ModelMap model) {
 
		return "/WEB-INF/jsp/dic/dic_tree_data";
 
	}
	
	
	
	
	
	

}
